From: Dan Winship Date: Fri, 1 Apr 2011 16:22:32 +0000 (-0400) Subject: lookingGlass: bring back the inspector icon X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8347 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5b93525ce80097fa962620d7df7418c87aabeefe;p=gnome-shell.git lookingGlass: bring back the inspector icon The change to StTextureCache for bug 644142 broke lg's inspector icon, which was not specifying St.IconType.FULLCOLOR, but was relying on the fact that SYMBOLIC (the default) would fall back to it. Fix the icon by specifying FULLCOLOR explicitly. (We should probably be using a symbolic icon here, but there is no available icon with a select/pick/point-to/etc kind of meaning.) https://bugzilla.gnome.org/show_bug.cgi?id=646451 --- diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index ede95a161..2c97cc519 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -707,6 +707,7 @@ LookingGlass.prototype = { let toolbar = new St.BoxLayout({ name: 'Toolbar' }); this.actor.add_actor(toolbar); let inspectIcon = new St.Icon({ icon_name: 'gtk-color-picker', + icon_type: St.IconType.FULLCOLOR, icon_size: 24 }); toolbar.add_actor(inspectIcon); inspectIcon.reactive = true;